<!DOCTYPE html>
<html>
{include file="head.html"}
<body> 
<div class="fullscreen">
        <div class="scroll_content">
            <div class="topfixed">
                <div class="t_left"><a href="/index.php?m=user"><i class="back"></i></a></div>
                <div class="t_main">口袋订单</div>
                <div class="t_right"><a href="/index.php?m=sushe&a=my" class="link">我的室友</a></div>
            </div>
            <div class="paddingheight"></div>

        </div>
    </div>
     {include file="koudai_order/nav.html"}
	
    	
        {if $ssorder}
        
        <ul class="cart_new_list clearfix">
        <li>
            <div class="d_name"><span class="fl">寝室口袋</span><span class="fr"><a href="/index.php?m=koudai_order_fz&order_id={$ssorder.order_id}">分账管理</a></span></div>
             {foreach item=cc from=$ssorder_product}
              {if $cc.buy_num}
            <div class="list clearfix">
                <div class="cart_pic">
                    <a href=""><img src="{$cc.imgurl|images_site}.100x100.jpg" class="img"></a>
                </div>
                <div class="cart_content">
                    <div class="tit">{$cc.title}</div>
                    <div class="info">
                        <p class="fl">
                            <span class="num">￥{$cc.order_price}&nbsp;&nbsp;&nbsp;&nbsp;{$cc.buy_num}件</span>
                        </p>

                        <p class="fr">
                            <b class="red">￥{$cc.total_money}</b>
                        </p>
                    </div>

                </div>
            </div>
            {/if}
            {/foreach}
            <div class="cart_total clearfix">
            <span class="fl">共{$sstotal_num}件 &nbsp; 压款金额：￥<b class="red">{$sstotal_money}</b></span>
            <span class="fr">
            {if $ssorder.status eq 3}
           
                {if $ssorder.isdz}
                    {if $ssorder.dzpay eq 2}
                         <a href="/index.php?m=koudai_order&a=duizhang&order_id={$ssorder.order_id}" class="jiesuan">查看对账</a>
                    {else}
                         <a href="/index.php?m=koudai_order&a=duizhangpay&order_id={$ssorder.order_id}" class="jiesuan">去支付</a>
                    {/if}
                {else}
                     <a href="/index.php?m=koudai_order&a=duizhang&order_id={$ssorder.order_id}" class="jiesuan">去对账</a>
                {/if} 
            {else}
            <a href="JavaScript:;" class="jiesuan">待发货</a> 
            {/if}
            </span>
        </div>
        </li>

    </ul>
        
         
        {/if} 
    
    	{if $grorder}
        <ul class="cart_new_list clearfix">
        <li>
            <div class="d_name"><span class="fl">个人口袋</span></div>
             {foreach item=cc from=$grorder_product}
             {if $cc.buy_num}
            <div class="list clearfix">
                <div class="cart_pic">
                    <a href=""><img src="{$cc.imgurl|images_site}.100x100.jpg" class="img"></a>
                </div>
                <div class="cart_content">
                    <div class="tit">{$cc.title}</div>
                    <div class="info">
                        <p class="fl">
                            <span class="num">￥{$cc.order_price}&nbsp;&nbsp;&nbsp;&nbsp;{$cc.buy_num} 件</span>
                        </p>

                        <p class="fr">
                            <b class="red">￥{$cc.money}</b>
                        </p>
                    </div>

                </div>
            </div>
            {/if}
            {/foreach}
            <div class="cart_total clearfix">
            <span class="fl">共{$grtotal_num}件 &nbsp; 压款金额：￥<b class="red">{$grtotal_money}</b></span>
            <span class="fr">
            {if $grorder.status eq 3}
           
                {if $grorder.isdz}
                    {if $grorder.dzpay eq 2}
                         <a href="/index.php?m=koudai_order&a=duizhang&order_id={$grorder.order_id}" class="jiesuan">查看对账</a>
                    {else}
                         <a href="/index.php?m=koudai_order&a=duizhangpay&order_id={$grorder.order_id}" class="jiesuan">去支付</a>
                    {/if}
                {else}
                     <a href="/index.php?m=koudai_order&a=duizhang&order_id={$grorder.order_id}" class="jiesuan">去对账</a>
                {/if} 
            {else}
           <a href="JavaScript:;" class="jiesuan">待发货</a> 
            {/if}
            </span>
        </div>
        </li>

    </ul>
        {/if}
         
    
{include file="footer.html"} 
</body>
</html>